/**
 * 由于url采用?/v1/v2/v3的形式 ,
 * 所以编写此方法获取url的值 生成返回后台的数据 {key:value}
 * @returns {}
 */
function common_getUrlMsg(){
    let obj = {};
    let uri = window.location.search;
    if(uri.lastIndexOf('/')===uri.length-1){uri=uri.substr(0,uri.length-1);}
    let splitE = uri?.substr(2).split('/');
    if(arguments.length!==splitE.length){
        alert('请求路径格式不正确,无法正确显示内容!!');
        let remove = document.remove;
        console.log(remove);
        return undefined;}
    for(let k=0;k < splitE.length;k++){
        let key=arguments[k];
        obj[key]=splitE[k];
    }
    return obj;
}